/**
 * $Id: Destination.java 23 2006-09-17 20:02:05Z willi.w $
 */
package at.wwu.tunes2db.export;

import java.io.IOException;
import java.sql.SQLException;

import at.wwu.tunes2db.types.*;

public interface Destination {

    public abstract void open() throws ClassNotFoundException, SQLException, IOException;

    public abstract boolean addTrack(Track t) throws SQLException;

    public abstract boolean addArtist(Artist a) throws SQLException;

    public abstract boolean addAlbum(Album l) throws SQLException;

    public abstract boolean addGenre(Genre g) throws SQLException;
    
    public abstract boolean addKind(Kind k) throws SQLException;
    
    public abstract boolean addType(Type k) throws SQLException;

    public abstract void close();
}